#ifndef _STRAWGUI_COMPONENT_BUTTON_H_
#define _STRAWGUI_COMPONENT_BUTTON_H_

#include "sComponentLabel.h"

namespace sgui
{
namespace res
{

class sComponentButton : public sComponentLabel
{
public:
	static const std::wstring COMPONENT_NAME;

    static const u32 REQUIRED_RECT_TEXT_TOUCH_ZONE  = 1;

    inst::sComponentInstance* getInstance(sGUI& gui, const res::sComponentObject& object, inst::sComponentInstance* parent);
    const std::wstring getClass() const;
    void fillRequredRects();

    sComponentButton(sGUI& gui, const std::wstring& name);
    ~sComponentButton();
};

};
};

#endif